package com.yonyou.pmclouds.discuss.itf;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.discuss.entity.DiscussNoticeVO;

public interface DiscussNoticeInternalOperation {
    DiscussNoticeVO[] queryByReceiver(String receiver, int pageStart, int pageSize);

    void insertNotices(DiscussNoticeVO[] notice) throws BusinessException;

    void makeNoticeRead(String noticeId, String receiver) throws BusinessException;

    boolean hasUnreadNotice(String user) throws BusinessException;

    int countUnreadNotice(String user);

    void deleteNotice(String noticeId);
}
